package com.arcpan.Mapper;

import com.arcpan.Entity.Query.FileShareQuery;
import com.arcpan.Entity.Vo.ShareInfo;
import com.arcpan.Entity.Vo.ShareInfoVo;
import com.github.pagehelper.IPage;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface FileShareMapper {
    Page selectBypage(FileShareQuery fileShareQuery);

    void insert(ShareInfo shareInfo);

    void delete(String[] sharelist, String userId);

    ShareInfoVo getByShareId(String shareId);

    ShareInfo getById(String shareId, String code);
}
